home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6751 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  913 b 

  1. Path: Inter.NL.net!usenet
  2. From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: volatile type
  5. Date: Wed, 14 Feb 1996 20:46:48 GMT
  6. Organization: Inter.NL.net, The Internet Provider in The Netherlands.
  7. Message-ID: <4fthv3$la8@altrade.nijmegen.inter.nl.net>
  8. References: <4fro3j$jbi@service.polymtl.ca>
  9. Reply-To: Auke.Reitsma@net.HCC.nl
  10. NNTP-Posting-Host: rt99-11.rotterdam.nl.net
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. fermi@info.polymtl.ca (Yannick Heneault) wrote:
  14.  
  15. > Can someone know information about this data type. A example is
  16. > welcome!
  17.  
  18. A volatile item is a thingy that can be modified by other processes. E.g.
  19. interrupt handlers.
  20.  
  21. It is essentially a warning to the compiler that its value may be modified
  22. between successive reads without intervening writes. So the compiler
  23. should _not_ optimize the later reads away ...
  24.  
  25.  
  26. Greetings from Delft, The Netherlands.
  27.  
  28. Auke Reitsma
  29.  
  30.